<meta charset="UTF-8">
<div class="content-wrapper">
	<!-- Content Header (Page header) -->
	<section class="content-header">
		<h1 style="text-align:center">
        	剩菜统计
      </h1>
	</section>

	<!-- Main content -->
	<section class="content">
		<div class="row">
			<div class="col-md-12">
				<div class="box">
					<div class="box-header">

						<div class='col-md-3'>
							<input type="text" class="form-control pull-right" id="reservation" ng-model="searchLeftBy.datetime">
						</div>
						<!--<div class="col-md-2 btn-group">
					<input class="form-control" placeholder="请输入企业编码" ng-model="searchLogBy.corporation_code">
				</div>-->
						<div class="col-md-2 btn-group">
							<input class="form-control" placeholder="档口名称" ng-model="searchLeftBy.windows">
						</div>
						<div class="col-md-2 btn-group">
							<input class="form-control" placeholder="餐别名称" ng-model="searchLeftBy.period_times">
						</div>
						
							
						<div class="col-md-5" align="right">
						  
							<button class="btn btn-default pull-left" ng-click="searchStatistics()"><i class="fa fa-search"></i>&nbsp;&nbsp;查询</button>
						
							<button class="btn btn-info" ng-click="jump_back()"><i class="fa fa-reply"></i>&nbsp;&nbsp;返回</button>
						 
							<button class="btn " ng-click="download('tb_leftOver','剩菜管理')"><i class="fa fa-cloud-download"></i>&nbsp;&nbsp;导出</button>
						  
						 </div>
					</div>
					<div class="box-body table-responsive no-padding">
						<table class="table table-hover">
							<tbody>
								<tr>
									<th>业务日期</th>
									<th>档口名称</th>
									<th>餐别名称</th>
									<th>菜品名称</th>
									<th>单位</th>
									<th>售价</th>
									<th>计划数量</th>
									<th>销售数量</th>
									<th>剩余数</th>
									<th>剩余额</th>
									<th>剩余率</th>
								</tr>
							</tbody>

						</table>
						<!-- //用于导出的表格-->
						<table class="table table-hover download" id="tb_leftOver">
							<tbody>
								<tr>
									<td>业务日期</td>
									<td>档口名称</td>
									<td>餐别名称</td>
									<td>菜品名称</td>
									<td>单位</td>
									<td>售价</td>
									<td>计划数量</td>
									<td>销售数量</td>
									<td>剩余数</td>
									<td>剩余额</td>
									<td>剩余率</td>
								</tr>
							</tbody>
						</table>
					</div>
					<!-- /.box-body -->
					<div class="box-footer" style="margin-bottom:10px;">

						<div class="dataTables_info col-md-2" id="example1_info" role="status" aria-live="polite">总条数：{{totalNums}}</div>
						<div class="col-md-6 col-md-offset-4">
							<ul class="pagination pull-right" style="margin: 0px;">
								<li class="paginate_button previous" id="example1_previous">
									<a ng-click="Previous()">上一页</a>
								</li>
								<li ng-repeat="page in pageList" ng-class="{active: isActivePage(page)}">
									<a ng-click="selectPage(page)">{{page}}</a>
								</li>
								<li class="paginate_button next" id="example1_next">
									<a ng-click="Next()">下一页</a>
								</li>
							</ul>
						</div>

					</div>
				</div>
				<!-- /.box -->
			</div>
		</div>
	</section>
	<!-- /.content -->
</div>